package com.miyu.feign.feignInterFace;


import com.miyu.feign.hystrix.RemoteHystrix;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "service-hi" ,fallback = RemoteHystrix.class)
public interface FeignFace {

    @RequestMapping(value = "/hi")
    public String hi();
}
